def save_html(r_page,name):
    print('we r gonna save a html named ' + name    )

    f = open(name,'wb')
    # f.write(r_page)
    f.write(r_page.encode('utf-8'))#save to page.html
    f.close()
    return r_page